<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>发布新文章</title>
<link href="./layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../editor/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../editor/xheditor-1.1.14-zh-cn.min.js"></script>
</head>
<body>
<jsp:include page="./menu.jsp"/>
<div id="main">
<header><h3>发布新文章</h3></header>
<h3><font color="red">${message}</font></h3>
<s:form method="post" action="add" theme="simple">
	标题：<s:textfield name="article.title"/><br/>
	发布人：<select name="article.author">
				<option value="请选择发布人" selected>请选择发布人
				<option value="系统管理员">系统管理员
				<option value="新闻部门">新闻部门
				<option value="商务部门">商务部门
				<option value="文化部门">文化部门
				<option value="科技部门">科技部门
		   </select><br/>
	栏目：<s:select name="article.channel.id"
                  list="clist" 
                  listKey="id" listValue="name"></s:select><br/>
    <textarea name="content" class="xheditor" cols=130 rows=15 style="width: 80%">test</textarea><br/>
    <input type="submit" value="发布..."/>
</s:form>
</div> 
</div> 
</body>
</html>